//解码

var base64Str = "emhhbmdzYW46MTIzNDU2";
var rawStr = Buffer.from(base64Str, "base64").toString("utf-8");
console.log(rawStr);